package com.sentrix.auto.printercenter.domain.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 系统打印机
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "printer")
public class PrinterEntity extends BaseEntity{
    private String name;
    private String code;
    private Boolean isOnline;
    private Boolean enable;
    private String agentCode;
    private String agentName;

    @Column(ignore = true)
    private List<PrinterTaskEntity> tasks;

}
